package com.hxh.juc;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/9/11 21:31
 */
public class Test2 {
    public static void main(String[] args) {
        new Thread(()->{
            System.out.println(12);
        }).start();


        new Thread(()->{
            System.out.println(34);
        }).start();


        new Thread(()->{
            System.out.println(56);
        }).start();


        new Thread(()->{
            System.out.println(78);
        }).start();

        new Thread(()->{
            System.out.println(12);
        }).start();


        new Thread(()->{
            System.out.println(34);
        }).start();


        new Thread(()->{
            System.out.println(56);
        }).start();


        new Thread(()->{
            System.out.println(78);
        }).start();


        new Thread(()->{
            System.out.println(12);
        }).start();


        new Thread(()->{
            System.out.println(34);
        }).start();


        new Thread(()->{
            System.out.println(56);
        }).start();


        new Thread(()->{
            System.out.println(78);
        }).start();



        new Thread(()->{
            System.out.println(12);
        }).start();


        new Thread(()->{
            System.out.println(34);
        }).start();


        new Thread(()->{
            System.out.println(56);
        }).start();


        new Thread(()->{
            System.out.println(78);
        }).start();


        new Thread(()->{
            System.out.println(12);
        }).start();


        new Thread(()->{
            System.out.println(34);
        }).start();


        new Thread(()->{
            System.out.println(56);
        }).start();


        new Thread(()->{
            System.out.println(78);
        }).start();
    }
}
